Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

Standalone Java App - trouble accessing api's for lotus.domino package
~Rex Ekresali 01/21/2004 02:31 PM
General 6.0.3 iSeries

I am having problems running a stand alone java program with Notes/Domino on the iSeries (AS400).

I have encountered the problem where the back end api's that the lotus.domino packages use are not being found.

When I run the program I receive the following error message.

java.lang.UnsatisfiedLinkError: no liblsxbe in java.library.path
java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (
java/lang/Error.<init>(Ljava/lang/String;)V+1 (
java/lang/LinkageError.<init>(Ljava/lang/String;)V+1 (
java/lang/ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+407 (
java/lang/Runtime.loadLibrary0(Ljava/lang/Class;Ljava/lang/String;)V+51 (
java/lang/System.loadLibrary(Ljava/lang/String;)V+6 (
lotus/domino/NotesThread.load(Z)V+156 (
lotus/domino/NotesThread.checkLoaded()V+18 (
lotus/domino/NotesThread.sinitThread()V+1 (
uk/co/arcadiagroup/PCMGTIstats/Mailtester.main([Ljava/lang/String;)V+0 (

I have followed the recommendations on the net that state that:

* Have the library QNOTES in the library list (to find LIBLSXBE).
(To get QNOTES in the library list, I have copied one of the Job Descriptions in library QUSRNOTES (WRKJOBD QUSRNOTES/*ALL), DOMINO04, to QNOTESJOBD. Also changed the QNOTES user profile to use QUSRNOTES/QNOTESJOBD as its default job description instead of the standard QDFTJOBD. )
* Run under the user profile QNOTES.
* Have the server's Data directory and the Domino executable directory in my PATH environment variable for the job.
* Include Notes.jar plus my classes in the CLASSPATH of the JVM.

All to no avail. Can anyone see if I am missing something here!

Regards and Thanks in advance.

Go back